package com.hushui.mall.commodity.dao;

import com.hushui.mall.commodity.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author miya
 * @email sunlightcs@gmail.com
 * @date 2023-03-16 11:38:45
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
     /**
      * 修改商品上架状态
      * */
    void updateStatus(@Param("spuId")Long spuId, @Param("status")Integer code);
}
